package com.crane.oss.app.bean.request.appuser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Size;
import java.io.Serializable;


/**
 * @author zhenxing.pi
 * @email ccsu123456@qq.com
 * @date 2020年08月21日 00时01分51秒
 */
@ApiModel(description = "新增参数")

@Getter
@Setter
@ToString
public class AddUserInfoReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "登录密码", name = "password")
    @Size(max = 64, message = "请您正确填写登录密码")
    private String password;

    @ApiModelProperty(value = "手机号码", name = "phone")
    @Size(min = 11, max = 11, message = "请您正确填写手机号码")
    private String phone;

    @ApiModelProperty(value = "验证码", name = "captcha")
    @Size(min = 1, max = 32, message = "请您正确填写验证码")
    private String captcha;
}
